package org.ns.learn.db.autoconf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "db.autoconf")
@Component
public class DBAutoConfig {
    private String registerServerAddress;

    public String getRegisterServerAddress() {
        return registerServerAddress;
    }

    public void setRegisterServerAddress(String registerServerAddress) {
        this.registerServerAddress = registerServerAddress;
    }
}
